package com.gjzt.business.depositOrder.inter;

import org.apache.ibatis.annotations.Param;

import com.gjzt.business.depositOrder.model.DepositOrder;

public interface DepositOrderMapper {
	
	DepositOrder selectByPrimaryKey(String orderId);
	
	DepositOrder selectByBidIdAndCustomerIdAndStatus(@Param("bidId") String bidId, @Param("customerId") String customerId, @Param("orderStatus") String orderStatus); 
	
	DepositOrder selectByBidIdAndCustomerId(@Param("bidId") String bidId, @Param("customerId") String customerId); 
	
    int insert(DepositOrder record);
    
    int updateByOrderId(DepositOrder record);
}